package Q521;

/**
 * 最长特殊序列
 * @author 23737
 * @date 2022.5.12
 */
class Solution {
    public int findLUSlength(String a, String b) {
        if (a.equals(b)) {
            return -1;
        } else {
            return Math.max(a.length(), b.length());
        }
    }
}